package io.renren.modules.lucky.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 通过openid和access_token获取用户信息
 */
@Data
public class WeiXinUserInfoEntiy {

    private String access_token;
    private Date birthday;
    private String openid;
    private String nickname;
    private Integer sex;
    private String province;
    private String city;
    private String country;
    private String headimgurl;
    private String language;
    private List<String> privilege;
    private String unionid;    //用户统一标识。针对一个微信开放平台帐号下的应用，同一用户的unionid是唯一的
    private String errcode;
    private String errmsg;
    private String phone; //lucky用户手机号

}
